namespace Catchbase.Service
{
    public class CatchbasePathHelper
    {
        private readonly string _path;

        public CatchbasePathHelper(string path)
        {
            _path = path;
        }

        public string FilePath
        {
            get
            {
                return "~/" + _path.Split('/')[1] + "service.svc";
            }
        }

        public string PathInfo
        {
            get { return _path.Substring(1); }
        }
    }
}